import 'package:flutter/material.dart';
import 'package:flutter_screenutil/flutter_screenutil.dart';

import 'app_text.dart';

class SeriesTag extends StatelessWidget {
  const SeriesTag(this.tag, {super.key});

  final String tag;

  @override
  Widget build(BuildContext context) {
    return Container(
      padding: const EdgeInsets.symmetric(horizontal: 8, vertical: 2).r,
      decoration: BoxDecoration(
        color: Color(0x1aE4B330),
        borderRadius: BorderRadius.circular(4).r,
      ),
      child: AppText(tag, color: Color(0xffAD9042), fontSize: 12),
    );
  }
}
